package WInterface
{
	public interface IEvent extends IClass
	{
		/**是否激活事件功能*/
		function set eventEnabled(value:Boolean):void;
		function get eventEnabled():Boolean;
		/**是否包含事件*/
		function hasEvent(type:String):Boolean;
		/**添加事件*/
		function addEvent(type:String):void;
		/**删除事件*/
		function delEvent(type:String):void;
		/**事件回调,覆盖此方法*/
		function eventCallback(type:String,data:Object=null):void;
		/**派发事件*/
		function disEvent(type:String,data:Object=null,uid:String=null):void;
	}
}